package com.pybox.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

/**
 * 描述：TUsers Dto
 *
 * @author wuyingkai
 * @date 2018-09-15
 */
@Data
public class TUsersDto {

    private int id;
    @ApiModelProperty("客户id")
    private Integer customerId;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("用户真实姓名")
    private String realname;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("是否为管理员，0默认管理员，1为管理员 2为普通")
    private Integer isAdmin;
    @ApiModelProperty("权限")
    private String permission;
   /* @ApiModelProperty("指纹")
    private Integer fpId;*/
    @ApiModelProperty("电话号码")
    private String phone;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("状态 0为启用 1为禁用")
    private Integer state;
    @ApiModelProperty("有效期起始时间")
    private Timestamp validFrom;
    @ApiModelProperty("有效期截止时间")
    private Timestamp validTo;
    @ApiModelProperty("备注")
    private String comments;
    @ApiModelProperty("删除标志 0有效 1删除")
    private Integer deleted;
    @ApiModelProperty("部门")
    private String deptId;
    @ApiModelProperty("关联的柜子")
    private List<Integer> cabinetsId;
    private String utime;
}